# Example_2_1.py
s = input("请输入一段文本：")
i = len(s) - 1
while i >= 0 :
    print(s[i], end="")
    i = i - 1
